import service from "@/utils/request";
//管理员登录接口 localhost:19090/system/sysUser/login
export function loginService(userAccount,password){
    return  service({
        url: "/sysUser/login",
        method: "post",
        data:{
            userAccount,password }                      //接口地址
       })
}
export function getUserInfoService(){
    return  service({
        url: "/sysUser/info",
        method: "get",                             //接口地址，根据token获取列表，不用传递参数
       })
}
export function logoutService(){
    return  service({
        url: "/sysUser/logout",
        method: "delete",                             //接口地址，根据token获取列表，不用传递参数
       })
}
